<{php}>
$title = $keyword;
if(isset($config['search_seo_title']['cvalue'])){
$title = $config['search_seo_title']['cvalue'];
}
if(isset($config['search_seo_keywords']['cvalue'])){
$keywords = $config['search_seo_keywords']['cvalue'];
}
if(isset($config['search_seo_desc']['cvalue'])){
$description = $config['search_seo_desc']['cvalue'];
}
<{/php}>
<{include file="../template/public/head.html"}>
<!-- header-->
<!-- bra_top -->
<{include file="../template/public/union_nav.html"}>
<link rel="stylesheet" type="text/css" href="/static/css/css.css?v=2" />
<style type="text/css">
    .news_banner{
        background:url(<{if condition="isset($config.search_banner.cvalue)"}><{$config.search_banner.cvalue}><{/if}>);
        background-size:100% 100%;
    }
    @media (max-width: 1200px) {
        .news_banner{
            background: url(<{if condition="isset($config.search_banner.cvalue)"}><{$config.search_banner.cvalue}><{/if}>) no-repeat center center !important;
        }
    }
    @media (max-width:700px) {
        .news_banner{
            display:none;
        }
    }
</style>
<div class="news_banner banner banner_brands">
    <div class="container">
        <div class="col-sm-7">
            <div class="text">
                <h1><strong><{if condition="isset($config.search_title.cvalue)"}><{$config.search_title.cvalue}><{/if}></strong></h1>
                <p><{if condition="isset($config.search_desc.cvalue)"}><{$config.search_desc.cvalue}><{/if}></p>
            </div>
        </div>
    </div>
</div>

<div id="content" class=" mt65 mb65">
    <div class="container">

        <{php}>
            $result = $query->search($keyword,$p);
            $resultList= $result['result'];
        <{/php}>
        <{volist name="resultList" id="item"}>
        <{if condition="$item['resultType'] eq 'product'"}>
        <div class="container-fluid mt65 mb65 news">
            <div class="container-fluid">
                <div class="row table-bordered ">
                    <div class="col-sm-6 row">
                        <a href="<{php}> echo $query->U('index/product/product/id/'.$item['id'],true);<{/php}>"><img src="<{$item.cover}>" width="475" height="240" alt="" class="img-responsive" /></a>
                    </div>
                    <div class="col-sm-6">
                        <div class="text">
                            <h2><strong><a href="<{php}> echo $query->U('index/product/product/id/'.$item['id'],true);<{/php}>"><{$item.name}></a></strong></h2>
                            <p><{$item.desc}></p>
                            <span class="mt26"><{$item.create_time}></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <{elseif condition="$item['resultType'] eq 'post'"}>
        <div class="container-fluid mt65 mb65 news">
            <div class="container-fluid">
                <div class="row table-bordered ">
                    <div class="col-sm-6 row">
                        <a href="<{php}> echo $query->U('index/post/detail/id/'.$item['id'],true);<{/php}>"><img src="<{$item.cover}>" width="475" height="240" alt="" class="img-responsive" /></a>
                    </div>
                    <div class="col-sm-6">
                        <div class="text">
                            <h2><strong><a href="<{php}> echo $query->U('index/post/detail/id/'.$item['id'],true);<{/php}>"><{$item.title}></a></strong></h2>
                            <p><{$item.desc}></p>
                            <span class="mt26"><{$item.create_time}></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <{elseif condition="$item['resultType'] eq 'solution'"}>
        <div class="container-fluid mt65 mb65 news">
            <div class="container-fluid">
                <div class="row table-bordered ">
                    <div class="col-sm-6 row">
                        <a href="<{php}> echo $query->U('index/solution/content/id/'.$item['id'],true);<{/php}>"><img src="<{$item.cover}>" width="475" height="240" alt="" class="img-responsive" /></a>
                    </div>
                    <div class="col-sm-6">
                        <div class="text">
                            <h2><strong><a href="<{php}> echo $query->U('index/solution/content/id/'.$item['id'],true);<{/php}>"><{$item.title}></a></strong></h2>
                            <p><{$item.desc}></p>
                            <span class="mt26"><{$item.create_time}></span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <{/if}>
        <{/volist}>
        <div class="container-fluid">
            <{$result.page}>
        </div>
        <!-- <div class="container-fluid">
             <div class="list-nav">
                 <a title="Total record">&nbsp;<b>40</b> </a>&nbsp;&nbsp;&nbsp;
                 <b>1</b>&nbsp;
                 <a href="#">2</a>&nbsp;
                 <a href="#">3</a>&nbsp;
                 <a href="#">4</a>&nbsp;
                 <a href="#">5</a>&nbsp;
                 <a href="#">6</a>&nbsp;
                 <a href="#">下一页</a>&nbsp;
                 <a href="#">尾页</a>
             </div>
         </div>-->
    </div>
</div>
<{include file="../template/public/sidebar.html"}>
<{include file="../template/public/foot.html"}>